package com.nuaa.likesystem.service;

import com.nuaa.likesystem.model.dto.thumb.DoThumbRequest;
import com.nuaa.likesystem.model.entity.Thumb;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author 11352
* @description 针对表【thumb】的数据库操作Service
* @createDate 2025-04-20 17:51:56
*/
public interface ThumbService extends IService<Thumb> {

	/**
	 * 点赞
	 *
	 * @param doThumbRequest
	 * @param request
	 * @return {@link Boolean }
	 */
	Boolean doThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);

	/**
	 * 取消点赞
	 *
	 * @param doThumbRequest
	 * @param request
	 * @return {@link Boolean }
	 */
	Boolean undoThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);




}
